package com.study.common.model;

import lombok.Data;

import java.util.List;

@Data
public class GaodeGpsResponse {

	// 响应状态码
	private int status;

	// 响应状态消息
	private String info;

	private Integer count;

	private GaodeMotoRcycleResult route;

	@Data
	public class GaodeMotoRcycleResult {

		private String origin;
		private String destination;

		private List<GaodeMotoRcycleRoutes> paths;

		@Data
		public class GaodeMotoRcycleRoutes {

			private List<GaodeMotoRcycleSteps> steps;// 路线分段

			@Data
			public class GaodeMotoRcycleSteps {

				private List<Tmcs> tmcs;// 路线分段

				@Data
				public class Tmcs {
					private String distance;
					private String status;
					private String polyline;
				}
			}
		}
	}

}
